package com.audaque.jadmin.system.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.audaque.jadmin.system.dao.mybatis.RoleMapper;
import com.audaque.jadmin.system.model.Role;
import com.audaque.jadmin.system.service.RoleService;

/**
 * @Description :
 * @FileName: RoleServiceImpl.java
 * @Author :WeiHui.Zhang
 * @Data : 2015年10月27日 上午9:36:50
 * @Version:V1.00
*/
@Service("roleService")
public class RoleServiceImpl implements RoleService{

	@Autowired
	private RoleMapper roleMapper;
	
	@Override
	public List<Role> findByUserId(int userId) {
		return roleMapper.findByUserId(userId);
	}

}
